package top.rainf.mapper;

import top.rainf.domain.vo.City;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 星环
 * @date 2023/5/10 11:37:28
 * @description
 */
 @Mapper
public interface CityMapper {


    List<City> selectAll();
    City selectById(int id);

    int deleteById(int id);

    int deleteByIds(List<Integer> idList);

    int updateById(City city);

    List<City> selectByProvinceId(Integer id);
}
